package jzqb.po;


import cnki.tpi.kbatis.annotation.Column;
import jzqb.bo.ZTBo;
import lombok.Data;

@Data
public class ZTPo  implements Comparable<ZTBo> {

    @Column("ID")
    private String id;

    @Column("序号")
    private Integer sortId;

    @Column("名称")
    private String name;

    @Column("专题集ID")
    private String ztjId;

    @Column("创建时间")
    private String createTime;

    @Column("更新时间")
    private String updateTime;

    private String ztjName;

    private Integer beforeSortId;

    @Override
    public int compareTo(ZTBo o) {
        if ((this.getSortId()) - (o.getSortId()) > 0) {
            return 1;
        } else {
            return -1;
        }
    }
}
